package com.ynny.hotspotBlockHandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

@Component
public class hotspotBlockHandler {
    public static String hotspotHandle(String name,String type, BlockException e){
        return "热点限流，请稍后再试！";
    }
}
